package com.nt.train.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @author hlf
 * @version 1.0
 * @date 2022/8/4 13:48
 */
public interface OssService {

    /**
     * 文件上传至阿里云
     * @param file
     * @return
     */
    String upload(MultipartFile file);

    Map<String,Object> readProperties();
}
